package com.maserb.monitor.entity;

import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "dynamic_point")
public class DynamicPointEntity {
    private String id;
    private String name;
    private String code;
    /**
     * 经度
     */
    private String longitude;
    /**
     * 维度
     */
    private String latitude;
    private String image1;
    private String image2;
    private String image3;
    private String image4;
    private String custom;
    private String category;
    private String description;
    private String createTime;
    /**
     * 单位
     */
    private Integer unit;

    /**
     * 关联测点编码
     */
    private String relationCode;
    /**
     * 采样频率
     */
    private Integer frequency;
    /**
     * 分析点数
     */
    private Integer dataCount;

    /**
     * 采样方式
     */
    private Integer sampleType;

    /**
     * 采样时长
     */
    private Double samplePeriod;

    /**
     * 采样间隔
     */
    private Double sampleInterval;

    /**
     * 触发量级
     */
    private Double triggerLevel;

    /**
     * 触发延迟时间
     */
    private Double triggerDelay;
}
